﻿using NewRetail.Application.Components.Goods.Entity;
using NewRetail.Application.Components.Platform.Entity;
using NewRetail.Application.Core.Entity;

namespace NewRetail.Application.Components.Warehouse.Entity
{
    public class WarehouseGoods : BaseEntity, IWarehouseEntity
    {
        public string goodsID { get; set; }
        public string warehouseID { get; set; }

        public decimal goodsNum { get; set; }
        public decimal costPrice { get; set; }
        public decimal costAmount { get; set; }

        public decimal price { get; set; }

        public bool isDiscount { get; set; }

        public NewRetail.Application.Components.Warehouse.Entity.Warehouse Warehouse { get; set; }
        public GoodsInfo GoodsInfo { get; set; }
        public Supplier Supplier { get; set; }
        /// <summary>
        /// 会员价
        /// </summary>
        public GoodsMemberPrice GoodsMemberPrice { get; set; }
    }
}
